import { defHttp } from '@/utils/http/axios'

enum Api {
  // 同比
  GET_TABLE_DATA = '/homologyChain/list',
  // 导出
  EXPORT_TABLE_DATA = '/homologyChain/export',
}

export const getYoyData = (params) => defHttp.get({ url: Api.GET_TABLE_DATA, params })
export const ExportYoyData = (params) => defHttp.get({ url: Api.EXPORT_TABLE_DATA, params, responseType: 'blob'  })
